package com.big.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.big.app.entity.Attention;
import com.big.app.entity.Messages;


import java.util.List;

/**
 * @author: zjl
 * @description
 * @date: 2022/4/21 20:53
 */

public interface AttentionDao extends BaseMapper<Attention> {
    //查询Flag
    Attention selectFlag(Integer mid, String username);
    //查询mid根据状态
    List<Attention> selectMid(Integer zactive, String username);
    //查詢messages根据username
    Messages selectAll(Integer mid);
}
